﻿namespace System.Buffers
{
    internal class ArrayPool<T>
    {
        private static readonly ArrayPool<T> _shared = null;
        public static ArrayPool<T> Shared
        {
            get { return _shared; }
        }

        static ArrayPool()
        {
            _shared = new ArrayPool<T>();
        }




        public T[] Rent(int length)
        {
            return new T[length];
        }

        public void Return(T[] buffer, bool flag)
        {

        }
    }
}
